<?php defined('SYSPATH') or die('No direct script access.');
/*
 * Виджет "Групи товарів"
 */
class Controller_Widgets_Categories extends Controller_Widgets {

    public $template = 'widgets/w_categories';    // Шаблон виждета
    
    public function action_index()
    {
    $this->template->prodGroup=Model::factory('forDB')->getProdGroups();
    $this->template->prodSubGroup=Model::factory('forDB');
        
    }

}
